﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MatrixWebApiCore.Entity
{
    public class ChartsBasicData
    {
        public string Key { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public bool IsDisplay { get; set; }
        public DynameicConditions DynameicConditions { get; set; }
    }

    public class DynameicConditions
    {
        public string SimulationCircle { get; set; }
        public double DRatio { get; set; }
        /// <summary>
        /// 最大回撤比率
        /// </summary>
        public double MaxDropDown { get; set; }
        /// <summary>
        /// 夏普比率
        /// </summary>
        public double SharpRatio { get; set; }
        /// <summary>
        /// 年化收益率 
        /// </summary>
        public double YearReturn { get; set; }
        /// <summary>
        /// 年化收益波动率
        /// </summary>
        public double YearWareRatio { get; set; }
        /// <summary>
        /// 累计收益
        /// </summary>
        public double TotalProfit { get; set; }
    }


}
